package com.adapter;

public abstract class ViewHolder {
	
	public static final int COLORADAPTERHOLDER =0;
	public static final int DOLISTDAPTERHOLDER =1;
	
	public static ViewHolder getViewHolder(int mode){
		if(COLORADAPTERHOLDER ==mode){
			return new ColorViewHolder();
		}else{
			return new DoListViewHolder();
		}
	}
	
	

}
